﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using MaxStudio.Concrete.DBUtility;
using MaxStudio.Concrete.Server.Dao;

namespace MaxStudio.Concrete.Server.Interface
{
    interface INeedPayDetails
    {
        OperationResult<List<tb_NeedPayDetail>> GetAllNeedPayDetails();
        OperationResult<tb_NeedPayDetail> GetNeedPayDetailsById(int id);
        OperationResult<List<tb_NeedPayDetail>> GetNeedPayDetailsByNeedPayId(int needPayId);
        OperationResult<tb_NeedPayDetail> CreateNeedPayDetails(tb_NeedPayDetail entity);
        OperationResult<tb_NeedPayDetail> ModifyNeedPayDetails(tb_NeedPayDetail entity);
        OperationResult<tb_NeedPayDetail> DeleteNeedPayDetails(tb_NeedPayDetail entity);
    }
}
